.head-wrap {
	background: #fff;
	position: fixed;
	width: 100%;
	left: 0;
	z-index: 1;

	.search-wrap {
		flex: 0.5;
		padding: 20rpx 20rpx 0;
		font-size: $font-size-tag;
		display: flex;
		align-items: center;
		.input-wrap {
			flex: 1;
			display: flex;
			justify-content: space-between;
			align-items: center;
			background: $color-bg;
			height: 80rpx;
			padding-left: 10rpx;
			border-radius: 40rpx;
			input {
				width: 90%;
				background: $color-bg;
				font-size: $font-size-tag;
				height: 50rpx;
				padding: 15rpx 25rpx 15rpx 40rpx;
				line-height: 50rpx;
				border-radius: 40rpx;
			}
			text {
				font-size: $font-size-toolbar;
				color: $color-tip;
				width: 80rpx;
				text-align: center;
				margin-right: 20rpx;
			}
		}
		.category-wrap,
		.list-style {
			display: flex;
			justify-content: center;
			align-items: center;
			.iconfont {
				font-size: 50rpx;
				color: $color-tip;
			}
			text {
				display: block;
				margin-top: 60rpx;
			}
		}
	}

	.sort-wrap {
		display: flex;
		padding: 10rpx 0;
		> view {
			flex: 1;
			text-align: center;
			font-size: $font-size-base;
			height: 60rpx;
			line-height: 60rpx;
		}
		.comprehensive-wrap {
			display: flex;
			justify-content: center;
			align-items: center;
			.iconfont-wrap {
				display: inline-block;
				margin-left: 10rpx;
				width: 40rpx;
				.iconfont {
					font-size: $font-size-toolbar;
					line-height: 1;
					margin-bottom: 5rpx;
				}
			}
		}
		.price-wrap {
			display: flex;
			justify-content: center;
			align-items: center;
			.iconfont-wrap {
				display: flex;
				justify-content: center;
				align-items: center;
				flex-direction: column;
				margin-left: 10rpx;
				width: 40rpx;
				margin-bottom: 12rpx;
				.iconfont {
					float: left;
					font-size: $font-size-toolbar;
					line-height: 1;
					height: 20rpx;
				}
			}
		}
		.screen-wrap {
			display: flex;
			justify-content: center;
			align-items: center;
			.iconfont-wrap {
				display: inline-block;
				margin-left: 10rpx;
				width: 40rpx;
				.iconfont {
					font-size: $font-size-toolbar;
					line-height: 1;
				}
			}
		}
	}
}

.goods-list {
	padding: 0 20rpx 0;
	.goods-item {
		margin-bottom: 20rpx;
		background: #ffffff;
		padding: $padding;
		display: flex;
		&:last-child {
			margin-bottom: 0;
		}
	}

	.image-wrap {
		display: inline-block;
		width: 200rpx;
		height: 200rpx;
		line-height: 200rpx;
		margin-right: 20rpx;
		border-radius: 10rpx;
		overflow: hidden;
		flex-shrink: 0;
		image {
			width: 100%;
			height: 100%;
			opacity: 1;
			border-radius: 20rpx;
		}
	}

	.goods-desc {
		width: calc(100% - 200rpx);
		min-height: 160rpx;
		padding-left: $padding;
		box-sizing: border-box;
		display: flex;
		flex-direction: column;
		justify-content: space-between;

		.goods-name {
			width: 100%;
			margin-top: 10rpx;
			line-height: 1.3;
			.name {
				line-height: 1.3;
				word-break: break-all;
				text-overflow: ellipsis;
				overflow: hidden;
				display: -webkit-box;
				-webkit-line-clamp: 2;
				-webkit-box-orient: vertical;
				font-size: $font-size-tag;
			}
			.good-share-money {
				margin-top: 10rpx;
			}

			.level_money {
				margin-right: 10rpx;
				display: flex;
				align-items: center;

				.money_sign {
					line-height: 1;
					display: flex;
					justify-content: center;
					align-items: center;
					float: left;
					font-size: $font-size-tag;
				}

				.money {
					height: 100%;
					line-height: 38rpx;
					font-size: $font-size-tag;
				}
			}
		}

		.goods-bottom {
			width: 100%;
			display: flex;
			justify-content: space-between;
			align-items: flex-end;

			.goods-price {
				line-height: 1.3;
				font-size: $font-size-base;
				font-weight: bold;
			}

			.goods-share {
				height: 50rpx;
				display: flex;
				justify-content: center;
				align-items: center;
				padding: 0 $padding;
				border-radius: 50rpx;

				text {
					line-height: 1;
					color: #ffffff;
					font-size: $font-size-activity-tag;
				}

				.iconfont {
					margin-right: 10rpx;
					font-size: $font-size-base;
				}
			}
		}
	}

	&.largest {
		display: flex;
		flex-wrap: wrap;
		padding: 0 30rpx 0;
		background: transparent;
		.goods-item {
			flex-direction: column;
			width: calc(50% - 18rpx);
			padding: 0;
			margin-bottom: 32rpx;
			border-bottom: none;
			background: #ffffff;
			border-radius: $border-radius;
			overflow: hidden;

			&:nth-child(2n + 1) {
				margin-right: 32rpx;
			}
			.goods-info {
				padding: 0 $padding;
			}
		}
		.image-wrap {
			margin: 20rpx auto;
			width: 300rpx;
			height: 300rpx;
			border-radius: $border-radius;
			overflow: hidden;
		}
		.goods-desc {
			width: 100%;
			padding: 0 $padding $padding;
		}
	}
}

.category-list-wrap {
	height: 100%;
	.class-box {
		display: flex;
		flex-wrap: wrap;
		padding: 0 $padding;
		view {
			width: calc((100% - 60rpx) / 3);
			font-size: $font-size-goods-tag;
			margin-right: 20rpx;
			height: 60rpx;
			line-height: 60rpx;
			text-align: center;
			margin-bottom: 12rpx;
			flex-shrink: 0;
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
			background: rgba(245, 245, 245, 1);
			&:nth-of-type(3n) {
				margin-right: 0;
			}
		}
	}
	.first {
		font-size: $font-size-toolbar;
		font-weight: bold;
		display: block;
		// background: $page-color-base;
		padding: 20rpx;
		font-size: $font-size-tag;
	}
}

.screen-wrap {
	.title {
		font-size: $font-size-tag;
		padding: $padding;
		background: #f6f4f5;
	}
	scroll-view {
		height: 85%;
		.item-wrap {
			border-bottom: 1px solid #f0f0f0;
			.label {
				font-size: $font-size-tag;
				padding: $padding;
				view {
					display: inline-block;
					font-size: 60rpx;
					height: 40rpx;
					vertical-align: middle;
					line-height: 40rpx;
				}
			}

			.list {
				margin: $margin-updown $margin-both;
				overflow: hidden;
				> view {
					display: inline-block;
					margin-right: 25rpx;
					margin-bottom: 25rpx;
				}
				.uni-tag {
					border: 0;
					padding: 0 $padding;
					font-size: $font-size-goods-tag;
					background: #f5f5f5;
					height: 52rpx;
					line-height: 52rpx;
				}
			}
			.price-wrap {
				display: flex;
				justify-content: center;
				align-items: center;
				padding: $padding;
				input {
					flex: 1;
					background: #f5f5f5;
					height: 52rpx;
					width: 182rpx;
					line-height: 50rpx;
					font-size: $font-size-goods-tag;
					border-radius: 50rpx;
					text-align: center;
					&:first-child {
						margin-right: 10rpx;
					}
					&:last-child {
						margin-left: 10rpx;
					}
				}
			}
		}
	}
	.footer {
		height: 90rpx;
		display: flex;
		justify-content: center;
		align-items: flex-start;
		display: flex;
		position: absolute;
		bottom: 0;
		width: 100%;
		.footer-box {
			border-top-right-radius: 0;
			border-bottom-right-radius: 0;
			margin: 0;
			width: 40%;
		}
		.footer-box1 {
			border-top-left-radius: 0;
			border-bottom-left-radius: 0;
			margin: 0;
			width: 40%;
		}
	}
}
.safe-area {
	bottom: 68rpx !important;
}
.icon {
	width: 34rpx;
	height: 30rpx;
}
.line {
	width: 4rpx;
	height: 28rpx;
	margin: 0px 6px;
	background-color: rgb(227, 227, 227);
}
.h-line {
	width: 37rpx;
	overflow: hidden;
	height: 2rpx;
	background-color: $color-tip;
}
